import request from '@/utils/request'

//查询科室信息
export function getDeptList(data) {
  return request({
    url: '/clinic/dept/list',
    method: 'post',
    data
  })
}

//查询医院
export function getDoctorList(data) {
  return request({
    url: '/clinic/user/list',
    method: 'post',
    data
  })
}

//添加排班信息
export function editScheduling(data) {
  return request({
    url: '/dr/sch/edit',
    method: 'post',
    data
  })
}

export function getScheduling(data) {
  return request({
    url: 'dr/sch/list',
    method: 'post',
    data
  })
}

export function makeAppt(data) {
  return request({
    url: '/dr/appt/makeAppt',
    method: 'post',
    data
  })
}
